<?xml version="1.0" encoding="UTF-8"?>
<!-- note: requires a web server running an XSLT processor -->
<div xst:version="0.2"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:xst  = "http://code.google.com/p/xstag/ns/2011/"
        xmlns:feed = "http://code.google.com/p/xstag/ns/example/feed/"
        >
<xst:import href="feed-lib/feeds.xstag"/>
<xst:param name="feed-uri">http://feeds.feedburner.com/TechCrunch</xst:param>
<xst:variable name="feed">
  <feed:get>{$feed-uri}</feed:get>
</xst:variable>
  <h1 id="feed-title" style="font-size: medium;">
    <feed:title feed="{$feed}"/> via AJAX
  </h1>
  <ul id="feed-list">
    <feed:list feed="{$feed}" xst:handles="$uri, $title">
      <li><a href="{$uri}">{$title}</a></li>
    </feed:list>
  </ul>
</div>
